from scrapy import cmdline

# 指定名字启动爬虫
cmdline.execute("scrapy crawl JingDongSpider".split())